html,
body,
#app {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  // min-width: 1080px;
    // overflow-x: hidden;
  overflow: hidden;
  font-size: 16px;
  font-family: Medium;
}

.row {
  display: flex;
  flex-direction: row;
}

.column {
  display: flex;
  flex-direction: column;
}

.align-items {
  display: flex !important;
  align-items: center;
  cursor: pointer;
}

.ellipsis {
  overflow: hidden; 
  white-space: nowrap;
  text-overflow: ellipsis;
}

// 路由跳转动画
// .slide-enter-active,
// .slide-leave-active {
//   transition: all 0.5s;
// }
// .slide-enter,
// .slide-leave-to {
//   transform: translate3d(100%, 0, 0);
// }
// .fade-enter-active,
// .fade-leave-active {
//   transition: opacity 0.2s;
// }

// .fade-enter,
// .fade-leave-to

// /* .fade-leave-active below version 2.1.8 */
//   {
//   opacity: 0;
// }
.fade-enter-from,
.fade-leave-to {
  // transform: translateX(20px);
  opacity: 0;
}

.fade-enter-to,
.fade-leave-from {
  opacity: 1;
}

.fade-enter-active {
  transition: all 0.7s ease;
}

.fade-leave-active {
  transition: all 0.3s cubic-bezier(1, 0.6, 0.6, 1);
}

div {
  scrollbar-width: none;
}

// 滚动条
div::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
  display: none !important;
}

div::-webkit-scrollbar-thumb {
  background: #DDDDDD !important;
  border-radius: 4px 4px 4px 4px;
}

div::-webkit-scrollbar-track {
  background: #F3F5F8 !important;
}

// 去除input自动填充时的背景色
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px transparent inset !important;
}

input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  -webkit-text-fill-color: #333 !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

//  抽屉样式
.el-drawer__header {
  padding: 15px !important;
  margin-bottom: 0 !important;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #DCDFE6;
}

.el-drawer__body {
  padding: 0px !important;
}

.drawer-box {
  height: calc(100vh - 112px);
  padding: 15px;
  overflow-y: scroll;
  border-top: 1px solid#DCDFE6;
  border-bottom: 1px solid#DCDFE6;
}

.drawer-btn {
  padding: 14px 20px;
  box-sizing: border-box;

  .el-button {
    margin-left: 15px;
    float: right;
  }
}

.el-radio.is-bordered {
  border-radius: 16px;
}

.white-bg-btn {
  background-color: var(--el-color-white);

  &:hover {
    background-color: var(--el-color-white);
    color: var(--el-color-primary);
  }
}

.user-info-box {
  width: 100%;
  box-sizing: border-box;

  .el-select {
    width: 100%;
  }
}

.fixed-btn-box {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  position: absolute;
  bottom: 0px;
  background-color: var(--el-color-white);
  box-shadow: 0px -3px 10px 1px rgba(185, 189, 199, 0.15);
  border-radius: 0 0 10px 10px;
  text-align: center;
}

.border15 {
  border-top: 15px solid rgb(247, 247, 247);
}

// tab栏切换公共样式
.tabBox {
  height: 62px;
  box-sizing: border-box;

  .el-col-20 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .el-tabs__nav-wrap::after {
    display: none;
  }

  .el-tabs__header {
    margin: 0 0 5px;
  }

  .el-tabs__item {
    color: #999999;
    font-weight: 500;
    font-size: var(--el-font-size-medium);
  }

  .el-tabs__item.is-active {
    font-weight: bold;
    color: #333333;
  }
}

// disabled公用样式
// .el-input.is-disabled {
//   border: 1px solid $disabled-bg-color;
//   background: $disabled-bg-color;
// }

.el-button--primary.is-link.is-disabled {
  color: var(--el-text-color-disabled);
}

.el-button--danger.is-link.is-disabled {
  color: #FF5562;
}

// table公共样式
.el-table td.el-table__cell {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.el-table td.el-table__cell {
  height: 48px;
}

.table-status-view {
  padding: 5px 10px;
  border-radius: 4px;
}

.table-status--success {
  color: $success-color;
  font-size: 12px;
  background-color: $success-Bg-Color;
}

.table-status--danger {
  color: $danger-color;
  font-size: 12px;
  background-color: $danger-Bg-Color;
}

.table-status--default {
  color: $default-color;
  font-size: 12px;
  background-color: $default-Bg-Color;
}

.noBorder {
  .el-input__wrapper {
    box-shadow: 0 0 0 0px;
    border: 1px dashed transparent;
  }

  .el-input__wrapper.is-focus,
  .el-input__wrapper:hover {
    box-shadow: 0 0 0 0px;
    background: #EEF6FF;
    border: 1px dashed #2C68FF;
  }

  .el-textarea__inner {
    box-shadow: 0 0 0 0px;
    border: 1px dashed transparent;
  }

  .el-textarea__inner:hover {
    box-shadow: 0 0 0 0px;
    border: 1px dashed transparent;
  }

  .el-textarea__inner:focus,
  .el-textarea__inner:hover {
    box-shadow: 0 0 0 0px;
    background: #EEF6FF;
    border-radius: 4px;
    border: 1px dashed #2C68FF;
  }
}

.fontBold {

  .el-input__inner,
  .el-textarea__inner {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
  }
}

.configBox {
  .type-title-name {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    margin-top: 20px;
  }

  .el-checkbox {
    display: flex;
  }

  .el-checkbox__input.is-checked+.el-checkbox__label {
    color: rgba(0, 0, 0, 0.65);
  }

  .upload-config-box {
    margin-top: 10px;

    .el-row {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      font-size: 14px;
      color: #595959;
    }
  }
}

.el-popper.is-light {
  color: #666666;
}

.avatar-uploader {
  width: 300px;
  height: 100px;
  display: inline-block;
  margin: 0 40px 20px 0;
}

.avatar-uploader .avatar {
  width: 300px;
  height: 100px;
  display: inline-block;
}

.avatar-uploader .el-upload {
  display: flex;
  flex-flow: column;
  width: 300px;
  height: 100px;
  border: 1px dashed var(--el-border-color);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--el-transition-duration-fast);
  font-size: 14px;
  margin-bottom: 10px;
}

.avatar-uploader .el-upload:hover {
  border-color: var(--el-color-primary);
}

.el-icon.avatar-uploader-icon {
  font-size: 20px;
  color: #666666;
  text-align: center;
  margin-bottom: 10px;
}

.el-upload-list--picture-card .el-upload-list__item {
  width: 302px !important;
  height: 102px !important;
  display: inline-block;
  margin: 0 40px 20px 0 !important;
  border-radius: 4px !important;
}

.el-upload-list--picture-card .el-upload-list__item-status-label {
  background: var(--el-color-primary) !important;
}

.popoverSelect {
  font-size: 14px;

  .title {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.85);
  }

  .typeList {
    padding: 15px 15px 5px 15px;

    .item {
      width: 102px;
      height: 36px;
      line-height: 36px;
      cursor: pointer;
      background: #F9F9F9;
      border-radius: 4px;
      text-align: center;
      margin: 0 5px 10px 5px;
      display: inline-block;

    }

    .item:nth-of-type(4n+4) {
      margin-right: 0px;
    }

    .item.active {
      background: #EEF6FF;
      color: #2C68FF;
    }
  }

  .tips {
    color: #F58C15;
    padding: 0 15px 15px 15px;
  }
}

.el-popover__title {
  padding-bottom: 12px;
  font-size: 14px;
  margin-bottom: 10px;
  padding: 2px 0 12px 0;
  color: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.el-popover.el-popper {
  padding: 0px;
}

.el-message-box__status{
  top: 16%;
}
.el-message-box__status.el-icon{
  top: 12px;
}
.el-message-box__content{
  padding-bottom: 20px;
}
.el-message-box__btns{
  padding: 10px 15px 0;
  border-top: 1px solid #eeeeee;
}
// 穿梭框样式
.el-transfer__buttons{
  padding: 0 20px!important;
}
.el-transfer__buttons .el-button{
  display: block!important;
}
.el-transfer__button:nth-child(2){
  margin: 15px 0 0 0!important;
}
.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{
  font-size: 14px!important;
}